<?php if (defined("YTDJ") or die()); 

Class Config extends YTDJClass {
		
	// PERFORMANCE
	var $addClipKeywordToQueries = true; // add clip to queries?
	var $tryLFMSearchTimes = 5; // loop lfm queries
	var $renewVideoAfterDays = 5; // refresh video info after x days
	var $maxResults = 10; // max results after search	
	
	// DATABASE
	var $database = "ytdj";
	var $dbuser = "ytdj";
	var $dbpass = "ytdj";
	
	// FEED DEFINITION
	var $entry_xpath = array(
		"url" => "default:id",
		"title" => "default:title",
		"duration" => "media:group/yt:duration/@seconds",
		"rating" => "gd:rating/@average",
		"thumbnail" => "media:group/media:thumbnail[1]/@url"
	);
	
	/**
	 * @return Config
	 */
	static function getInstance() {
		return parent::getInstance(__CLASS__);
	}
	
}

?>